* {
    box-sizing: border-box;
    padding: 0;
    margin: 0;
}

html, body {
    max-width: 100vw;
    overflow-x: hidden;
    min-height: 100vh;
    background-color: #F8F8F8;
}

[data-theme="dark"],body[data-theme="dark"],html[data-theme="dark"],[data-theme="dark"] body{
    background-color: #17171A;
    color:#CCCCCC;
}
[data-theme="dark"] .container .operate .item{
    border: 1px solid #4b4646;
    background: #281d1d;
}
[data-theme="dark"] .container .log{
    background: #17171A;
    border: 1px solid #323030;
}
[data-theme="dark"] .container .log pre{
    background: #433e3e;
    border: 1px solid #999;
}
[data-theme="dark"] .container .operate .item .button button{
    background: #666;
    color: #fff;
}

.container {
    width: 100%;
    min-height: 100vh;
}

.container .title {
    text-align: left;
    padding: 1rem;
    font-weight: bold;
    font-size: 2rem;
}

.container .operate {
    padding: 0 calc(50vw + 1rem) 1rem 1rem;
}

.container .operate .item {
    border: 1px solid #EEE;
    border-radius: 0.5rem;
    padding: 0.5rem;
    margin-bottom: 0.5rem;
    background: #FFF;
}

.container .operate .item .label {
    padding: 0.25rem;
}

.container .operate .item .desc {
    font-size: 12px;
    color: #999;
    padding: 0.25rem;
}

.container .operate .item .button {
    display: flex;
    flex-wrap: wrap;
}

.container .operate .item .button button {
    line-height: 2rem;
    padding: 0 0.5rem;
    background: #111;
    color: #FFF;
    border: none;
    border-radius: 0.5rem;
    margin: 0.25rem;
    min-width: 7rem;
    cursor: pointer;
}

.container .log {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    background: #FFF;
    width: 50vw;
    border: 1px solid #EEE;
}

.container .log pre {
    position: absolute;
    inset: 0;
    margin: 1rem;
    border: 1px solid #999;
    background: #f9f9f9;
    line-height: 1.5rem;
    padding: 0.5rem;
    border-radius: 0.5rem;
    min-height: 10rem;
    overflow: auto;
    font-size: 12px;
}

.container .log pre span {
    background: #999;
    color: #FFF;
    padding: 0 5px;
    border-radius: 5px;
    display: inline-block;
    margin-bottom: 2px;
    margin-right: 4px;
}

.container.fastpanel-container {
    font-size: 12px;
}

.container.fastpanel-container .title {
    font-size: 12px;
    padding: 5px;
}

.container.fastpanel-container .operate {
    padding: 2px;
}

.container.fastpanel-container .operate .item {
    padding: 2px;
    margin-bottom: 2px;
}

.container.fastpanel-container .operate .item .button button {
    font-size: 10px;
    line-height: 1rem;
    padding: 0 3px;
    min-width: 0;
    border-radius: 3px;
}

.container.fastpanel-container .log {
    top: auto;
    left: 0;
    width: 100vw;
    height: 3rem;
}

.container.fastpanel-container .log pre {
    margin: 2px;
    line-height: 1rem;
    min-height: auto;
    padding:2px;
}
.container.fastpanel-container .log pre span {
    font-size:10px;
}
